﻿#include "CmdTbHideOrShowTableColumn.h"
#include "PostCommandPy.h"
#include "BaseModule/IBaseSignal.h"
#include<QDebug>

namespace PostCommand
{

    CmdTbHideOrShowTableColumn::CmdTbHideOrShowTableColumn()
        : CommandBase()
    {
        this->initCmdName();
    }

    CmdTbHideOrShowTableColumn::~CmdTbHideOrShowTableColumn()
    {
    }

    bool CmdTbHideOrShowTableColumn::execute()
    {
        emit IBaseSignalInstance->signal_hideOrShowTableColumn(m_windowId, m_selectedIndex);
        return true;
    }

    void CmdTbHideOrShowTableColumn::undo()
    {
    }

    void CmdTbHideOrShowTableColumn::redo()
    {
    }
}


